laravel if else condition in blade file

147

@if($user->status =='active')         
      <td>{{ $user->name }}</td>         
@else
      <td> Guest </td>        
@endif

Comments

Submit
0 Comments